/*
* @Author: jack
* @Date:   2019-12-17 12:26:06
* @Last Modified by:   jack
* @Last Modified time: 2022-01-20 21:25:15
*/
import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)
let app = new Router({
  // mode: 'history',
  base: '/app/datav',
  routes: [
    {
      path: '/',
      name: 'Index',
      component: () => import('@/pages/index'),
      meta: {
        requiresAuth: true,
        title: '慧学云大屏展示'
      }
    },
    {
      path: '/temperature',
      name: 'Temperature',
      component: () => import('@/pages/temperature'),
      meta: {
        requiresAuth: true,
        title: '慧学云大屏展示'
      }
    },
    {
      path: '/excel',
      name: 'Excel',
      component: () => import('@/pages/excel'),
      meta: {
        requiresAuth: true,
        title: '表格在线转化'
      }
    },
    {
      path: '/wanzhi',
      name: 'Wanzhi',
      component: () => import('@/pages/wanzhi'),
      meta: {
        requiresAuth: true,
        title: '表格在线转化'
      }
    },
    {
      path: '/eye',
      name: 'eye',
      component: () => import('@/pages/eye'),
      meta: {
        requiresAuth: true,
        title: '校园视力检测大数据'
      }
    },
    {
      path: '/hongcheng',
      name: 'eye',
      component: () => import('@/pages/hongcheng'),
      meta: {
        requiresAuth: true,
        title: '校园视力检测大数据'
      }
    },
    {
      path: '/youeryuan',
      name: 'eye',
      component: () => import('@/pages/youeryuan'),
      meta: {
        requiresAuth: true,
        title: '智慧幼儿园大数据展示'
      }
    }
  ]
})

export default app

